<?php
require '../php/Huluxia.php';
$hlx = new Huluxia($_COOKIE['key']);
$posts = $hlx->getCategoryPostList($_REQUEST['cat_id'],$_REQUEST['tag_id'],$_REQUEST['sort'],50,$_REQUEST['start']);
echo json_encode($posts);